package com.bsj.pay.model;

import com.bsj.pay.util.json.serializer.DateTimeJsonSerializer;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;

import java.io.Serializable;

/**
 * 商品支付链接生成配置表
 * @TableName pay_goods
 */
public class PayGoodsBean implements Serializable {
    /**
     * 
     */
    private Long id;


    @JsonSerialize(using = DateTimeJsonSerializer.class )
    private Long create_time;

    @JsonSerialize(using = DateTimeJsonSerializer.class )
    private Long update_time;

    /**
     * 金额
     */
    private Integer amount;

    /**
     * 支付类型
     */
    private String pay_type;

    /**
     * 产码数量
     */
    private Integer pay_url_count;

    /**
     * 当前产码的数量
     */
    private Integer current_count;

    /**
     * 1启用，0禁用
     */
    private Integer status;

    /**
     * 备注
     */
    private String remarks;

    private static final long serialVersionUID = 1L;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    /**
     * 金额
     */
    public Integer getAmount() {
        return amount;
    }

    /**
     * 金额
     */
    public void setAmount(Integer amount) {
        this.amount = amount;
    }

    /**
     * 产码数量
     */
    public Integer getPay_url_count() {
        return pay_url_count;
    }

    /**
     * 产码数量
     */
    public void setPay_url_count(Integer pay_url_count) {
        this.pay_url_count = pay_url_count;
    }

    /**
     * 1启用，0禁用
     */
    public Integer getStatus() {
        return status;
    }

    /**
     * 1启用，0禁用
     */
    public void setStatus(Integer status) {
        this.status = status;
    }

    /**
     * 备注
     */
    public String getRemarks() {
        return remarks;
    }

    /**
     * 备注
     */
    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public Integer getCurrent_count() {
        return current_count;
    }

    public void setCurrent_count(Integer current_count) {
        this.current_count = current_count;
    }

    public String getPay_type() {
        return pay_type;
    }

    public void setPay_type(String pay_type) {
        this.pay_type = pay_type;
    }

    public Long getCreate_time() {
        return create_time;
    }

    public void setCreate_time(Long create_time) {
        this.create_time = create_time;
    }

    public Long getUpdate_time() {
        return update_time;
    }

    public void setUpdate_time(Long update_time) {
        this.update_time = update_time;
    }
}